   import {create} from 'zustand';

   const useUserStore = create((set) => ({
     user: null,
     setUser: (userData) => set({ user: userData }),
     clearUser: () => set({ user: null }),
     conceptNames: {},
     setConceptNames: (conceptNamesData) => set({ conceptNames: conceptNamesData })
   }));

   export default useUserStore;